Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODFacet


Draw

The Draw method tells this facet's part to draw itself within the specified portion of this facet.

void Draw (in ODShape invalidShape, 
           in ODCanvas biasCanvas);
invalidShape
A reference to a shape within which the part should draw itself, expressed in frame coordinates.
biasCanvas
kODNULL if the geometry is in platform-normal coordinates, otherwise a reference to the canvas object to whose coordinate space the geometry is biased.
DISCUSSION
This facet's containing part calls this method when the embedded facets of this facet require updating. This method in turn calls the Draw method associated with this facet's part.

SEE ALSO
The ODPart::Draw method (page 505).
The ODFacet::DrawChildren method (page 244).
The ODFacet::DrawChildrenAlways method (page 245).
"The Draw Method of Your Part Editor" on page 158
"Invalidating and Updating" on page 214 in OpenDoc Programmer's Guide.
"Updating an Offscreen Canvas" on page 168 in OpenDoc Programmer's Guide.
"Invalidating and Updating" on page 214 in OpenDoc Programmer's Guide.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help